package org.lex.dbq.view.sql.result;

import org.eclipse.swt.widgets.Composite;
import org.lex.dbq.model.jdbc.resultset.IResultSetFactory;

public abstract class ResultSetViewer extends Composite implements IResultSetViewer {
	protected IResultSetFactory result = null;

	public ResultSetViewer(Composite parent, int style) {
		super(parent, style);
	}

	@Override
	public void setResultSet(IResultSetFactory rs) {
		this.result = rs;
	}

	@Override
	public IResultSetFactory getResultSet() {
		return result;
	}
}
